package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


@Setter
@Getter
public class AccountRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    private Long fromUserId;
    private Long toUserId;
    private Integer type;
    private Integer status;
    private Integer bus;
    private BigDecimal amount;
    private BigDecimal fromNowAmount;
    private BigDecimal toNowAmount;
    private BigDecimal fromLockAmount;
    private BigDecimal toLockAmount;
    private String orderNo;
    private Date time;
    Date[] times;
    private String info;
    private Boolean hide;
    private Integer month;
    private String busId;
    public AccountRecordEntity(){

    }

    public AccountRecordEntity(Long fromUserId, Long toUserId, Integer type, BigDecimal amount, BigDecimal fromNowAmount, BigDecimal toNowAmount, Date time, String info,Integer status,Integer bus) {
        this.fromUserId = fromUserId;
        this.toUserId = toUserId;
        this.type = type;
        this.amount = amount;
        this.fromNowAmount = fromNowAmount;
        this.toNowAmount = toNowAmount;
        this.time = time;
        this.info = info;
        this.status = status;
        this.bus = bus;
        this.hide = false;
    }


}
